﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Enterprise.Modules;

namespace Enterprise.Modules
{
    public class News : Module<News.Data>
    {
        public News() : base() { }
        public News(string id) : base(id) { }


        public override bool Active
        {
            get { return _data.Active; }
            set { _data.Active = value; }
        }

        public override string RewritePrefix
        {
            get { return ""; }
        }

        public class Data
        {
            public bool Active = false;
            public string ClassName = "News";
        }
    }
}
